package com.vim.modules.configServer.service;

import com.github.pagehelper.PageInfo;
import com.vim.modules.configServer.model.Config;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @作者 Administrator
 * @时间 2019-09-20 13:45
 * @版本 1.0
 * @说明
 */
@Component
public class ConfigServiceHystrix implements ConfigService{

    private static final org.slf4j.Logger logger = LoggerFactory.getLogger(ConfigServiceHystrix.class);

    @Override
    public PageInfo<Config> findPageList(Integer pageNum, Integer pageSize, Config config) {
        logger.error("ConfigService findPageList error");
        return null;
    }

    @Override
    public Config get(String id) {
        logger.error("ConfigService get error");
        return null;
    }

    @Override
    public Map<String, Object> saveOrUpdate(Config config) {
        logger.error("ConfigService saveOrUpdate error");
        return null;
    }

    @Override
    public Map<String, Object> sendConfig(String id) {
        logger.error("ConfigService sendConfig error");
        return null;
    }
}
